﻿using System.Collections.Generic;

namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 护脚机配置
    /// </summary>
    public class VFootProtectConfig : BaseVModel
    {
        private string _orderNo = string.Empty;
        private string _workOrderNo = string.Empty;
        private string _footProtectSortNos = string.Empty;
        private string _overTurnSortNos = string.Empty;

        #region Public Property

        ///<Summary>
        /// 订单号
        ///</Summary>
        public string OrderNo
        {
            get { return string.IsNullOrWhiteSpace(_orderNo) ? string.Empty : _orderNo; }
            set { _orderNo = value; }
        }

        ///<Summary>
        /// 工单号
        ///</Summary>
        public string WorkOrderNo
        {
            get { return string.IsNullOrWhiteSpace(_workOrderNo) ? string.Empty : _workOrderNo; }
            set { _workOrderNo = value; }
        }

        ///<Summary>
        /// 护脚序列
        ///</Summary>
        public string FootProtectSortNos
        {
            get { return string.IsNullOrWhiteSpace(_footProtectSortNos) ? string.Empty : _footProtectSortNos; }
            set { _footProtectSortNos = value; }
        }

        ///<Summary>
        /// 翻转序列
        ///</Summary>
        public string OverTurnSortNos
        {
            get { return string.IsNullOrWhiteSpace(_overTurnSortNos) ? string.Empty : _overTurnSortNos; }
            set { _overTurnSortNos = value; }
        }
        #endregion

        /// <summary>
        /// 包护脚序号列表
        /// </summary>
        public List<int> FootProtectSortNoList { get; set; } = new List<int>();

        /// <summary>
        /// 翻转序号列表
        /// </summary>
        public List<int> OverTurnSortNoList { get; set; } = new List<int>();
    }
}
